<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>表单示例</title>
</head>

<body>
<form id="frmReg" name="frmReg" method="post" action="test.html">
<table width="400" border="0">
  <tr>
    <td>用户名：</td>
    <td><input id="txtUsername" name="txtUsername" type="text" size="20" maxlength="10" /></td>
  </tr>
  <tr>
    <td>密码：</td>
    <td><input id="txtPwd" name="txtPwd" type="password" /></td>
  </tr>
  <tr>
    <td>性别：</td>
    <td>
    	<input id="radM" name="radSex" type="radio" checked="checked" />男
    	<input id="radF" name="radSex" type="radio" />女
    </td>
  </tr>
  <tr>
    <td>爱好：</td>
    <td>
    	<input id="chkH1" name="chkHobby" type="checkbox" />电竞
        <input id="chkH2" name="chkHobby" type="checkbox" />美食
        <input id="chkH3" name="chkHobby" type="checkbox" />旅游
        <input id="chkH4" name="chkHobby" type="checkbox" checked="checked" />交友
    </td>
  </tr>
  <tr>
    <td>头像：</td>
    <td>
    	<input id="fileFace" name="fileFace" type="file" />
        <input id="btnFace" name="btnFace" type="button" value="上传" />
   	</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>
    	<input id="btnSubmit" name="btnSubmit" type="submit" value="提交" />
    	<input id="btnReset" name="btnReset" type="reset" value="重置" />
    </td>
  </tr>
  <tr>
    <td>隐藏域：</td>
    <td><input id="hidTest" name="hidTest" type="hidden" value="1001" /></td>
  </tr>
  <tr>
    <td>血型：</td>
    <td>
		<select id="selBlood" name="selBlood" size="1" multiple="multiple">
        	<option>--请选择--</option>
        	<option>A</option>
            <option>B</option>
            <option>AB</option>
            <option>O</option>
        </select>
		
    </td>
  </tr>
  <tr>
    <td>个性签名：</td>
    <td><textarea rows="5" cols="30">这家伙很懒，什么也没有留下！！！</textarea></td>
  </tr>
</table>
</form>
</body>
</html>
